package cn.com.header.core.support.web.springmvc.converter;

import java.time.LocalDateTime;

/**
 * @author liangzhongqiu789@sina.com
 * @date 2017-05-18
 * @time 12:33
 */
public class StringToLocalDateTimeConverter extends StringToLocalSomethingAbstractConverter<LocalDateTime> {
    @Override
    public LocalDateTime convertAfterCheck(String source) {
        return LocalDateTime.parse(source, dateTimeFormatter);
    }
}
